package org.zfes.snowier.cloud.zbss.pmp.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class PmpDocument extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public PmpDocument() {}
	public PmpDocument(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 

	  private java.lang.Long projectId;
 
	@javax.validation.constraints.NotBlank(message="文档版本不能为空")
	@javax.validation.constraints.NotNull(message="文档版本不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=20,message="文档版本长度不能大于20")
	  private java.lang.String projetVersion;
 
	@javax.validation.constraints.NotBlank(message="文档描述不能为空")
	@javax.validation.constraints.NotNull(message="文档描述不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="文档描述长度不能大于255")
	  private java.lang.String remark;
 
	@javax.validation.constraints.NotBlank(message="文档版本不能为空")
	@javax.validation.constraints.NotNull(message="文档版本不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=20,message="文档版本长度不能大于20")
	  private java.lang.String version;
 

	@javax.validation.constraints.NotNull(message="创建者不能为空")

	  private java.lang.Long creatorUserId;
 
	@javax.validation.constraints.NotBlank(message="创建者不能为空")
	@javax.validation.constraints.NotNull(message="创建者不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="创建者长度不能大于255")
	  private java.lang.String creatorUserName;
 

	  private java.util.Date updatetime;
 

	  private java.util.Date createtime;
 

	@javax.validation.constraints.NotNull(message="状态不能为空")

	  private java.lang.Byte status;
 
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="文件路径或者id长度不能大于255")
	  private java.lang.String filez;
 
	
	//<-------------------------------------------->
	public PmpDocument setProjectId(java.lang.Long projectId){
	 this.projectId=projectId;
	 return this;
	}
	public java.lang.Long getProjectId(){
		return this.projectId;
	}
	public PmpDocument setProjetVersion(java.lang.String projetVersion){
		this.projetVersion=projetVersion==null?null:projetVersion.trim();
	 return this;
	}
	public java.lang.String getProjetVersion(){
		return this.projetVersion;
	}
	public PmpDocument setRemark(java.lang.String remark){
		this.remark=remark==null?null:remark.trim();
	 return this;
	}
	public java.lang.String getRemark(){
		return this.remark;
	}
	public PmpDocument setVersion(java.lang.String version){
		this.version=version==null?null:version.trim();
	 return this;
	}
	public java.lang.String getVersion(){
		return this.version;
	}
	public PmpDocument setCreatorUserId(java.lang.Long creatorUserId){
	 this.creatorUserId=creatorUserId;
	 return this;
	}
	public java.lang.Long getCreatorUserId(){
		return this.creatorUserId;
	}
	public PmpDocument setCreatorUserName(java.lang.String creatorUserName){
		this.creatorUserName=creatorUserName==null?null:creatorUserName.trim();
	 return this;
	}
	public java.lang.String getCreatorUserName(){
		return this.creatorUserName;
	}
	public PmpDocument setUpdatetime(java.util.Date updatetime){
	 this.updatetime=updatetime;
	 return this;
	}
	public java.util.Date getUpdatetime(){
		return this.updatetime;
	}
	public PmpDocument setCreatetime(java.util.Date createtime){
	 this.createtime=createtime;
	 return this;
	}
	public java.util.Date getCreatetime(){
		return this.createtime;
	}
	public PmpDocument setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public PmpDocument setFilez(java.lang.String filez){
		this.filez=filez==null?null:filez.trim();
	 return this;
	}
	public java.lang.String getFilez(){
		return this.filez;
	}

}
